Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ListBase<T> Class / CopyTo Method / CopyTo(T[],Int32) Method
The one-dimensional System.Array that is the destination of the elements copied from ListBase<T>. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.


In This Topic
CopyTo(T[],Int32) Method
In This Topic
Copies the entire ListBase<T> to a compatible one-dimensional array, starting at the beginning of the target array.
Syntax
'Declaration
 
Public Overloads Sub CopyTo( _
   ByVal array() As T, _
   ByVal arrayIndex As Integer _
) 
 
'Usage
 
Dim instance As ListBase(Of T)
Dim array() As T
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)

Parameters

array
The one-dimensional System.Array that is the destination of the elements copied from ListBase<T>. The System.Array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.
See Also